home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 676-700 / 685 / publicmanager / publictools / setpubmodes.doc < prev    next >
Text File  |  1995-03-18  |  1KB  |  66 lines

  1. -----------------------------------------------------------------
  2.  
  3.                         SetPubModes
  4.  
  5. -----------------------------------------------------------------
  6.  
  7. Written in 1992 by Michael Watzl
  8.  
  9.  
  10. This is a little utility which comes together with the
  11. PublicManager. It is designed to control the publicscreen
  12. modes (Shanghai and PopPubScreen) from script/shell.
  13. Of course it needs Kick 2.0 (V36 should be enough).
  14.  
  15. It is wirtten in assembler for minimal lenght (about 630 bytes)
  16.  
  17. -----------------------------------------------------------------
  18.  
  19.  
  20. How to use
  21. ----------
  22.  
  23. setpubmodes [-sx] [-px]
  24.  
  25.     -s    modify the shanghai flag
  26.     -p    modify the poppubscreen flag
  27.  
  28.     x=0    means that you want to clear this flag
  29.     x=1    to set the flag
  30.  
  31.  
  32. Examples
  33. --------
  34.  
  35. setpubmodes -s1 -p1    sets the shanghai and pop flag.
  36. setpubmodes -s1        sets the shanghai flag and leaves the pop flag
  37.             at its current mode
  38. setpubmodes        prints some information and does
  39.             nothing to the flags
  40.  
  41. The return code
  42. ---------------
  43.  
  44. SetpubModes sets the return code relating to the current public
  45. screen modes:
  46.  
  47.     Shanhai        = 1
  48.     Poppubscreen    = 2
  49.  
  50. ==>    a return code of:
  51.         3 means both flags are enabled
  52.         0 no flag is set
  53.         ...
  54.  
  55.  
  56. -----------------------------------------------------------------
  57.  
  58.  
  59. Michael Watzl
  60. Konradstr. 11
  61. 8850 Donauwoerth
  62.  
  63. GERMANY
  64.  
  65. Support shareware!
  66.